<?php
$linha = $_GET["v"];
switch ($_GET["b"]){
    case "bb":
        $color_r = 0;
        $color_g = 0;
        $color_b = 128;
    break;
    case "itau":
        $color_r = 0;
        $color_g = 0;
        $color_b = 0;
    break;
}

header("Content-type: image/png");
$im = imagecreate(440, 18);
$background_color = imagecolorallocate($im, 255, 255, 255);
$text_color = imagecolorallocate($im, $color_r, $color_g, $color_b);
imagestring($im, 4, 1, 1,  $linha, $text_color);
imagepng($im);
imagedestroy($im);
